package cn.iocoder.yudao.module.member.controller.app.auth.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

@Schema(description = "用户 APP - 抖音小程序手机号登录 Request VO")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AppAuthDouyinMiniAppLoginReqVO {

 @Schema(description = "encryptedData", requiredMode = Schema.RequiredMode.REQUIRED, example = "hello")
 @NotEmpty(message = "encryptedData 不能为空")
 private String encryptedData;

 @Schema(description = "iv", requiredMode = Schema.RequiredMode.REQUIRED, example = "hello")
 @NotEmpty(message = "iv 不能为空")
 private String iv;

 @Schema(description = "登录 code", requiredMode = Schema.RequiredMode.REQUIRED, example = "word")
 @NotEmpty(message = "登录 code 不能为空")
 private String loginCode;

 @NotEmpty(message = "登录 anonymousCode 不能为空")
 private String anonymousCode;


 private String phoneNumberCode;

/*    @Schema(description = "state", requiredMode = Schema.RequiredMode.REQUIRED, example = "9b2ffbc1-7425-4155-9894-9d5c08541d62")
    @NotEmpty(message = "state 不能为空")
    private String state;*/

}
